// import { clearHttpRequestingList } from '@/utils/request'
export default {
    data () {
        return {
            pageInfo: {
                pageNum: 1,
                pageSize: 15,
                total: 0,
                sizeList: [10, 15, 20, 25, 50]
            }
        }
    },
    created () {
    },
    methods: {
        /** 每页行数变更*/
        handleSizeChange (val) {
            this.pageInfo.pageSize = val
            this.getData()
        },
        /** 翻页*/
        handleCurrentChange (val) {
            this.pageInfo.pageNum = val
            this.getData()
        },
        // 序号
        indexNum (index) {
            return index + 1 + (this.pageInfo.pageNum - 1) * this.pageInfo.pageSize
        },
        getData () {
            return false
        }
    }
}
